import 'package:flutter/material.dart';

class PushB extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('过渡动画页面B'),
      ),
      body: Center(
        child: RaisedButton(
          onPressed: () {
            Navigator.of(context).pop();
          },
          child: Text('返回过渡动画页面A'),
        ),
      ),
    );
  }
}